package com.imooc.order.stream;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

/**
 * @describte:TODO
 * @program:foodie-cloud
 * @author:zhengdp
 * @create:2021-10-10 18:34:25
 **/
public interface CheckOrderTopic {

    String INTPUT = "orderstatus-consumer";

    String OUTPUT = "orderstatus-producer";

    @Input(INTPUT)
    SubscribableChannel input();

    @Output(OUTPUT)
    MessageChannel output();

}
